home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13448 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.lang.c
  2. Path: uu4news.netcom.com!zodiac!szh
  3. From: szh@zcon.com (Syed Zaeem Hosain)
  4. Subject: Re: PLEASE HELP!!!
  5. Message-ID: <1996Apr6.203204.26711@zcon.com>
  6. Sender: szh@zcon.com (Syed Zaeem Hosain)
  7. Nntp-Posting-Host: zodiac
  8. Reply-To: szh@zcon.com
  9. Organization: Z Consulting Group
  10. References: <4k25rv$l4s@netnews.ntu.edu.tw>
  11. Date: Sat, 6 Apr 1996 20:32:04 GMT
  12.  
  13. In article <4k25rv$l4s@netnews.ntu.edu.tw>, b3503104@cc.ntu.edu.tw (b3503104) writes:
  14. >Please help!
  15. >
  16. > How can I write a program in C to have the similar function as "dir" in DOS?
  17. >??
  18. >  (that is to LIST the files)
  19. >
  20. >Any suggestions or hints will be very helpful and appreciated!!
  21.  
  22. Even though you question is system-specific, there are answers
  23. available in the FAQ. Thus, please look in the FAQ for this newsgroup
  24. (comp.lang.c) that can be found at rtfm.mit.edu if you do not have this
  25. item. In it, you will see the answer to the following question:
  26.  
  27. 19.20:  How can I read a directory in a C program?
  28.  
  29. and this will get you going.
  30.  
  31.                                 Z
  32.  
  33.  
  34. -- 
  35. -------------------------------------------------------------------------
  36. | Syed Zaeem Hosain          P. O. Box 610097            (408) 441-7021 |
  37. | Z Consulting Group        San Jose, CA 95161             szh@zcon.com |
  38. -------------------------------------------------------------------------
  39.